package cn.edu.scau.cmi.luodongmei.hibernate.service;

import java.util.List;

import cn.edu.scau.cmi.luodongmei.hibernate.domain.Teacher;

public interface TeacherService {
	boolean addTeacher(String name);
	boolean updateTeacherByName(String oldName,String newName);
	boolean delTeacherByName(String name);
	List listTeachers();
	Teacher findByName(String name);
}
